package UtranNRMSystem;
/**
 * Generated from IDL enum "SAFreqBandtype".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public final class SAFreqBandtype
	implements org.omg.CORBA.portable.IDLEntity
{
	private int value = -1;
	public static final int _ABand = 0;
	public static final SAFreqBandtype ABand = new SAFreqBandtype(_ABand);
	public static final int _EBand = 1;
	public static final SAFreqBandtype EBand = new SAFreqBandtype(_EBand);
	public static final int _FBand = 2;
	public static final SAFreqBandtype FBand = new SAFreqBandtype(_FBand);
	public int value()
	{
		return value;
	}
	public static SAFreqBandtype from_int(int value)
	{
		switch (value) {
			case _ABand: return ABand;
			case _EBand: return EBand;
			case _FBand: return FBand;
			default: throw new org.omg.CORBA.BAD_PARAM();
		}
	}
	public String toString()
	{
		switch (value) {
			case _ABand: return "ABand";
			case _EBand: return "EBand";
			case _FBand: return "FBand";
			default: throw new org.omg.CORBA.BAD_PARAM();
		}
	}
	protected SAFreqBandtype(int i)
	{
		value = i;
	}
	java.lang.Object readResolve()
	throws java.io.ObjectStreamException
	{
		return from_int(value());
	}
}
